class Singleton
	{
	static Singleton s = new Singleton();
	
	void updateMember(int x)
		{
		i=x;
		}
	
	void showMember()
		{
		System.out.println(i);
		}
		
	public static void main(String args[])
		{
		Singleton s = new Singleton();
		s.updateMember(20);
		s.showMember();
		Singleton sin = new Singleton();
		sin.updateMember(50);
		sin.showMember();
		s.showMember();
		}
	}